package com.ssy.lingxi.member.merchant.model.vo.comment.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ssy.lingxi.common.annotation.Desensitized;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 订单评价接口查询返回VO
 * @author yzc
 * @version 2.0.0
 * @date 2020/10/14
 */
public class ProductOrderTradeCommentPageVO implements Serializable {
    private static final long serialVersionUID = 8129453763056929068L;

    /**
     * 记录id
     */
    private Long id;

    /**
     * 评价星级（1-5）
     */
    private Integer star;

    /**
     * 评价内容
     */
    private String comment;

    /**
     * 评价方
     */
    @Desensitized
    private String memberName;

    /**
     * 会员等级标签
     */
    private String levelTag;

    /**
     * 评论图片
     */
    private List<String> pics;

    /**
     * 评价时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 解释回复
     */
    private String replyContent;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public List<String> getPics() {
        return pics;
    }

    public void setPics(List<String> pics) {
        this.pics = pics;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getLevelTag() {
        return levelTag;
    }

    public void setLevelTag(String levelTag) {
        this.levelTag = levelTag;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }
}
